//
//  CLUserDefaults.h
//  CLBrowser
//
//  Created by 梁慧聪 on 2017/2/14.
//  Copyright © 2021年 梁慧聪. All rights reserved.
//

#import <Foundation/Foundation.h>

extern NSString * const KeyNoImageModeStatus;
extern NSString * const KeyBlockBaiduADStatus;
extern NSString * const KeyEyeProtectiveStatus;
extern NSString * const KeyEyeProtectiveColorKind;
extern NSString * const CLKeyThemeName;
extern NSString * const KeyPasteboardURL;
extern NSString * const KeyDidChangeStatus;
extern NSString * const CLKeyNightStatus;
extern NSString * const KeyCacheStatus;

@interface CLUserDefaults : NSObject

+ (void)setBool:(BOOL)value forKey:(NSString *)defaultName;
+ (void)setURL:(NSURL *)url forKey:(NSString *)defaultName;
+ (void)setInteger:(NSInteger)value forKey:(NSString *)defaultName;
+ (void)setString:(NSString *)string forKey:(NSString *)defaultName;
+ (void)setObject:(id)object forKey:(NSString *)defaultName;

+ (BOOL)boolForKey:(NSString *)defaultName;
+ (BOOL)boolDefaultYESForKey:(NSString *)defaultName;
+ (NSInteger)integerForKey:(NSString *)defaultName;
+ (NSInteger)integerDefault1ForKey:(NSString *)defaultName;
+ (NSURL *)URLForKey:(NSString *)defaultName;
+ (NSString *)stringForKey:(NSString *)defaultName;
+ (NSDictionary *)dictionaryForKey:(NSString *)defaultName;
@end
